package com.sheyu.mall.product.feign;

import com.sheyu.common.es.SkuEsModel;
import com.sheyu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author sheyu
 * @date 2020/8/11 6:20 下午
 */
@FeignClient("search-service")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
